Skip to content

feat: Add CSV download functionality and comprehensive tests#51

Closed
jeffreyaven wants to merge 1 commit intomainfrom
claude/issue-18-20250611_233218
Closed

feat: Add CSV download functionality and comprehensive tests#51
jeffreyaven wants to merge 1 commit intomainfrom
claude/issue-18-20250611_233218

Conversation

@jeffreyaven
Copy link
Copy Markdown
Member

  • Add --csv-download argument to both local and server magic classes
  • Implement CSV generation using pandas DataFrame.to_csv()
  • Create HTML download links using base64-encoded data URIs
  • Add styled download buttons with error handling
  • Feature only works when --no-display is not set (default behavior)
  • Add comprehensive tests for both local and server modes covering:
    • CSV download functionality
    • --no-display precedence behavior
    • HTML generation and base64 encoding
    • Error handling for CSV generation failures

Co-authored-by: jeffreyaven jeffreyaven@users.noreply.github.com

🤖 Generated with Claude Code

- Add --csv-download argument to both local and server magic classes
- Implement CSV generation using pandas DataFrame.to_csv()
- Create HTML download links using base64-encoded data URIs
- Add styled download buttons with error handling
- Feature only works when --no-display is not set (default behavior)
- Add comprehensive tests for both local and server modes covering:
  * CSV download functionality
  * --no-display precedence behavior
  * HTML generation and base64 encoding
  * Error handling for CSV generation failures

Co-authored-by: jeffreyaven <jeffreyaven@users.noreply.github.com>

🤖 Generated with [Claude Code](https://claude.ai/code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant